package com.ziyun.pop.modules.logistics.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ziyun.pop.modules.logistics.dto.LogisticsReceiverDto;
import com.ziyun.pop.modules.logistics.dto.LogisticsShipperDto;
import com.ziyun.pop.modules.logistics.dto.TwbLogisticsPaymentDto;
import com.ziyun.pop.modules.logistics.entity.ErpLogisticsEntity;
import io.renren.common.utils.R;

import java.util.Map;

/**
 * 物流配送表
 *
 * @author llc
 * @email 787254039@qq.com
 * @date 2018-10-10 19:05:19
 */
public interface ErpLogisticsService extends IService<ErpLogisticsEntity> {

    R queryPage(Map<String, Object> params);

    R enteringCost(Long logiId, double logiCost);

    R updateLogisticsInfo(Long logiId, String logiNo);

    R updateByMap(Map<String,Object> map);

    R twbLogisticsPayment(TwbLogisticsPaymentDto twbLogisticsPaymentDto);

    R saveReceiverInfo(LogisticsReceiverDto logisticsReceiverDto);

    R saveShipperInfo(LogisticsShipperDto logisticsShipperDto, Long sellerId);
}

